package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 注塑压管报工表
 * </p>
 *
 * @author zhc
 * @since 2024-08-10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("qing_fcmoroutingmain")
@ApiModel(value = "QingFcmoroutingmainEntity对象", description = "注塑压管报工表")
public class QingFcmoroutingmainEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("表主键")
    @TableId(value = "main_id", type = IdType.AUTO)
    private Long mainId;

    @ApiModelProperty("数据ID")
    @TableField("qingApplyId")
    private Long qingApplyId;

    @ApiModelProperty("下载批次")
    @TableField("downBatchId")
    private String downBatchId;

    @ApiModelProperty("编号")
    @TableField("qingRowCode")
    private String qingRowCode;

    @ApiModelProperty("申请人")
    @TableField("qingApplyUser")
    private String qingApplyUser;

    @ApiModelProperty("申请日期")
    @TableField("qingApplyDate")
    private LocalDateTime qingApplyDate;

    @ApiModelProperty("更新日期")
    @TableField("qingUpdateDate")
    private LocalDateTime qingUpdateDate;

    @ApiModelProperty("当前流程状态")
    @TableField("qingRowState")
    private String qingRowState;

    @ApiModelProperty("appKey")
    @TableField("appKey")
    private String appKey;

    @ApiModelProperty("预计工资")
    @TableField("calpieSalary")
    private Double calpieSalary;

    @ApiModelProperty("设备ID")
    @TableField("eqId")
    private Integer eqId;

    @ApiModelProperty("报工结束时间")
    @TableField("reportJobEndTime")
    private LocalDateTime reportJobEndTime;

    @ApiModelProperty("批次号")
    @TableField("proBatchNo")
    private String proBatchNo;

    @ApiModelProperty("设备编号")
    @TableField("eqCode")
    private String eqCode;

    @ApiModelProperty("报工开始时间")
    @TableField("reportJobStartTime")
    private LocalDateTime reportJobStartTime;

    @ApiModelProperty("班次")
    @TableField("workShiftCode")
    private String workShiftCode;

    @ApiModelProperty("模具编号")
    @TableField("mould_code")
    private String mouldCode;

    @ApiModelProperty("剩余未清数量")
    @TableField("leaveQty")
    private Integer leaveQty;

    @ApiModelProperty("报工后良品数")
    @TableField("afterQualifyQty")
    private Integer afterQualifyQty;

    @ApiModelProperty("报工后剩余未清数")
    @TableField("afterLeaveQty")
    private Integer afterLeaveQty;

    @ApiModelProperty("工单编号")
    @TableField("processPlanCode")
    private String processPlanCode;

    @ApiModelProperty("报工方式")
    @TableField("reportMode")
    private String reportMode;

    @ApiModelProperty("报工类型")
    @TableField("reportType")
    private String reportType;

    @ApiModelProperty("生产任务单号")
    @TableField("zsSendWorkCode")
    private String zsSendWorkCode;

    @ApiModelProperty("良品数")
    @TableField("qualifyQty")
    private Integer qualifyQty;


    @ApiModelProperty("员工工号")
    @TableField("psnCode")
    private String psnCode;//员工工号

    @ApiModelProperty("生产人员")
    @TableField("psnName")
    private String psnName;

    @ApiModelProperty("工序名称")
    @TableField("processName")
    private String processName;

    @ApiModelProperty("计划产量")
    @TableField("prodNum")
    private Integer prodNum;

    @ApiModelProperty("报工时间")
    @TableField("reportJobTime")
    private LocalDateTime reportJobTime;

    @ApiModelProperty("产品编号")
    @TableField("invCode")
    private String invCode;

    @ApiModelProperty("规格型号")
    @TableField("invType")
    private String invType;

    @ApiModelProperty("产品名称")
    @TableField("invName")
    private String invName;

    @ApiModelProperty("不良品数")
    @TableField("scrapQty")
    private Integer scrapQty;

    @ApiModelProperty("已完成数")
    @TableField("totalWorkNum")
    private Integer totalWorkNum;

    @ApiModelProperty("选择生产任务单")
    @TableField("selWorkTask")
    private String selWorkTask;

    @ApiModelProperty("机台合模数")
    @TableField("eqRunMoldQty")
    private Integer eqRunMoldQty;

    @ApiModelProperty("产品单价")
    @TableField("piecePrice")
    private Double piecePrice;

    @ApiModelProperty("客户代号")
    @TableField("cusCode")
    private String cusCode;

    @ApiModelProperty("尾箱数量/件")
    @TableField("modQty")
    private Integer modQty;

    @ApiModelProperty("箱数")
    @TableField("proNum")
    private Integer proNum;

    @ApiModelProperty("预计箱数")
    @TableField("planNum")
    private Integer planNum;

    @ApiModelProperty("单箱数量/件")
    @TableField("qtyPerCarton")
    private Integer qtyPerCarton;

    @ApiModelProperty("生产计划编号")
    @TableField("workPlanCode")
    private String workPlanCode;

    @ApiModelProperty("报工批次时间")
    @TableField("workproTmBatch")
    private String workproTmBatch;

    @ApiModelProperty("预计良品数")
    @TableField("planQualfyQty")
    private Integer planQualfyQty;

    @ApiModelProperty("表格")
    @TableField("tables")
    private String tables;

    @ApiModelProperty("是否为末道工序")
    @TableField("isLashFlag")
    private String isLashFlag;

    @ApiModelProperty("选择后道任务单")
    @TableField("selAfterWorkCode")
    private String selAfterWorkCode;

    @ApiModelProperty("报工后不良品数")
    @TableField("afteScrapQty")
    private Integer afteScrapQty;

    @ApiModelProperty("水煮箱号")
    @TableField("poachCaseNum")
    private String poachCaseNum;

    @ApiModelProperty("水煮框")
    @TableField("poachBox")
    private String poachBox;

    @ApiModelProperty("水煮任务单号")
    @TableField("poachWorkNum")
    private String poachWorkNum;

    @ApiModelProperty("水煮开始时间")
    @TableField("poachStartDate")
    private LocalDateTime poachStartDate;

    @ApiModelProperty("水煮时间")
    @TableField("poachTime")
    private Integer poachTime;

    @ApiModelProperty("水煮结束时间")
    @TableField("poachEndDate")
    private LocalDateTime poachEndDate;


}
